package com.java.zhuiyun.api.SysUser.controller.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.java.zhuiyun.api.sysmenu.entity.Menu;
import lombok.Data;

import java.util.List;

/**
 * 接受前端登录请求的参数
 */
@Data
@TableName("sys_user")
public class UserDTO {
    private Integer id;
    @TableField("user_name")
    private String userName;

    private String password;

    private String nickName;

    private String avatarUrl;

    private String token;

    private String role;

    private List<Menu> menus;
}
